package com.swjd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.swjd.dao.DictDao;
import com.swjd.po.dict;
import com.swjd.service.DictService;

//字典业务逻辑实现层
@Service
@Transactional
public class DictServiceImpl implements DictService {
	@Autowired
	private DictDao dictdao;
	//查询字典对应信息
	@Override
	public List<dict> findDictSource() {
		List<dict> findDictAll = dictdao.findDictSource();
		return findDictAll;
	}

	@Override
	public List<dict> findDictIndustry() {
		List<dict> findDictIndustry = dictdao.findDictIndustry();
		return findDictIndustry;
	}

	@Override
	public List<dict> findDictLevel() {
		List<dict> findDictLevel = dictdao.findDictLevel();
		return findDictLevel;
	}

}
